<meta charset="UTF-8">
<h2 class="view-title">资源详情</h2>
<form class="layui-form layui-form-pane" action="" id="roleAuthorizeViewForm" lay-filter="roleAuthorizeViewForm">
	<input type="hidden" name="id"/>
	<div class="layui-form-item">
		<label class="layui-form-label">资源名称</label>
		<div class="layui-input-block">
			<input type="text" name="name" placeholder="资源名称" autocomplete="off" class="layui-input" disabled>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">权限key</label>
		<div class="layui-input-block">
			<input type="text" name="authKey" update="disabled" placeholder="权限key" autocomplete="off" class="layui-input" disabled>
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" create="false" pane>
		<label class="layui-form-label">入参控制</label>
		<div class="layui-input-block">
			<input type="checkbox" name="openInput" lay-skin="switch" lay-filter="roleResourceSwitchOpenInput" title="ON|OFF">
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" pane lay-filter="inputTableList" style="display: none;">
		<label class="layui-form-label">参数配置</label>
		<div class="layui-input-block">
			<table class="layui-table">
				<colgroup>
					<col width="60px">
					<col>
				</colgroup>
				<thead>
					<tr>
						<th><input type="checkbox" list-name="all" title="全选" lay-filter="input-all"></th>
						<th>参数</th>
					</tr>
				</thead>
				<tbody>
					<tr lay-filter="inputRowModel" style="display: none;">
						<td align="center"><input type="checkbox" list-name="selectRow"></td>
						<td></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" create="false" pane>
		<label class="layui-form-label">出参控制</label>
		<div class="layui-input-block">
			<input type="checkbox" name="openOutput" lay-skin="switch" lay-filter="roleResourceSwitchOpenOutput" title="ON|OFF">
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" pane lay-filter="outputTableList" style="display: none;">
		<label class="layui-form-label">参数配置</label>
		<div class="layui-input-block">
			<table class="layui-table">
				<colgroup>
					<col width="60px">
					<col>
				</colgroup>
				<thead>
					<tr>
						<th><input type="checkbox" list-name="all" title="全选" lay-filter="output-all"></th>
						<th>参数</th>
					</tr>
				</thead>
				<tbody>
					<tr lay-filter="outputRowModel" style="display: none;">
						<td align="center"><input type="checkbox" list-name="selectRow"></td>
						<td></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<span class="layui-btn" auth="system.role.setRoleAuthorize" onclick="$.module.currModule.setRoleAuthorize();">设置</span>
		</div>
	</div>
</form>